Add CMake option LIBCXX_CONFIGURE_IDE to allow for other IDE's. CLion needs similar configuration changes as MSVC_IDE and XCODE. git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@255851 91177308-0d34-0410-b5e6-96231b3b80d8 
diff --git a/CMakeLists.txt b/CMakeLists.txt index 8b60fb1..e6c96f6 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt 
@@ -42,7 +42,6 @@  "or -DLLVM_PATH=path/to/llvm-source-root.")  endif()   -  #===============================================================================  # Setup CMake Options  #=============================================================================== @@ -150,6 +149,13 @@  endif()  endif()   +set(LIBCXX_CONFIGURE_IDE_DEFAULT OFF) +if (XCODE OR MSVC_IDE) + set(LIBCXX_CONFIGURE_IDE_DEFAULT ON) +endif() +option(LIBCXX_CONFIGURE_IDE "Configure libcxx for use within an IDE" + ${LIBCXX_CONFIGURE_IDE_DEFAULT}) +  #===============================================================================  # Check option configurations  #===============================================================================